package com.ckx.图形;

public abstract class Shape {
    public abstract void draw();
}

abstract class A extends Shape {
    abstract void test();
}

class C extends A {
    //    两个方法都要重写
    @Override
    public void draw() {

    }

    @Override
    void test() {

    }
}
